package com.jic.interaction.JDVOP.model.enyity.order;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @ClassName BizSku
 * TODO
 * @Description 商品信息列表
 * @Author chenhongfeng
 * @Date 2020/11/15 17:14
 * @Version 1.0
 **/
@Data
public class BizSku {
    @ApiModelProperty(notes = "京东商品编号")
    private Long skuId;
    @ApiModelProperty(notes = "购买商品数量")
    private Integer num;
    @ApiModelProperty(notes = "商品分类编号")
    private Integer category;
    @ApiModelProperty(notes = "商品单价")
    private BigDecimal price;
    @ApiModelProperty(notes = "商品名称")
    private String name;
    @ApiModelProperty(notes = "商品税率")
    private BigDecimal tax;
    @ApiModelProperty(notes = "商品税额")
    private BigDecimal taxPrice;
    @ApiModelProperty(notes = "商品未税价")
    private BigDecimal nakedPrice;
    @ApiModelProperty(notes = "商品类型：0普通、1附件、2赠品")
    private Integer type;
    @ApiModelProperty(notes = "主商品skuid，如果本身是主商品，则oid为0")
    private Long oid;
}
